#pragma once

#include "Condition.h"
#include "NumListView.h"
// CNumListView view
#define CListViewBase CXTListView

class CResultView : public CListViewBase
{
	DECLARE_DYNCREATE(CResultView)

protected:
	CResultView();           // protected constructor used by dynamic creation
	virtual ~CResultView();

public:
#ifdef _DEBUG
	virtual void AssertValid() const;
#ifndef _WIN32_WCE
	virtual void Dump(CDumpContext& dc) const;
#endif
#endif

	void SetResult(const std::vector<std::vector<CString>>& res) ;
	void UpdateResult(std::vector<EveryGroup>& group) ;
	void ClearForm() ;

	void getResult(STRING_MAP_VECTOR& res) ;
	CString getItemText(int i,int s) ;

protected:
	DECLARE_MESSAGE_MAP()
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);

public:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnClose();
};


